/**
 * Author@ Cheng Feitian
 * Date: 2021-3-24
 * Description: 
 */

#include <algorithm>
#include <iostream>
#include <string>

using namespace std;
const int maxn = 1024;

int main()
{
    char *str = "Hello World!";
    char str1[] = "Hello World!";

    cout << "字符串常量的地址:" << &("Hello World!") << endl;
    cout << "str 的地址" << &str << endl;
    cout << "str1 的地址" << &str1 << endl;
    return 0;
}
